1 00:00:00,280 --> 00:00:00,910 Hey there. 2 00:00:00,910 --> 00:00:01,750 Welcome back. 3 00:00:01,750 --> 00:00:04,330 Great job on completing this project. 4 00:00:04,330 --> 00:00:09,640 In the background of this lecture, I am playtesting the game to find any potential bugs. 5 00:00:09,640 --> 00:00:14,890 If you encounter any bugs during the playtesting phase of your game, this is a great opportunity for 6 00:00:14,890 --> 00:00:17,320 you to practice your problem solving skills. 7 00:00:17,320 --> 00:00:23,350 To try and fix the bug, make sure you use print statements and breakpoints to your advantage in solving 8 00:00:23,350 --> 00:00:24,190 the bug. 9 00:00:24,190 --> 00:00:28,990 If you aren't able to solve the bug or need more help, make sure you make a Q&A post relating to your 10 00:00:28,990 --> 00:00:29,590 issue. 11 00:00:29,590 --> 00:00:34,780 Or you can also make a forum post inside of our discord server to get scripting assistance. 12 00:00:37,320 --> 00:00:43,080 Now, I only encountered one error when I was playtesting my game, and that came from the property 13 00:00:43,080 --> 00:00:45,090 listener script inside of our zombies. 14 00:00:45,090 --> 00:00:50,790 So if we head to one of the property listener scripts for our zombies, the error occurred on line 24, 15 00:00:50,790 --> 00:00:56,700 where it says attempted to index nil with fine first child, which is a which is occurring right here. 16 00:00:57,580 --> 00:01:02,740 So that means when we index other parts parent, the parent is returning nil. 17 00:01:02,740 --> 00:01:04,240 And I believe I know what's happening. 18 00:01:04,240 --> 00:01:10,420 This is because what is happening is that when a bunch of zombies are dying and their torsos touch the 19 00:01:10,420 --> 00:01:16,060 limb of another zombie that gets destroyed right away, well, the parent of that destroyed limb would 20 00:01:16,060 --> 00:01:16,840 be nil. 21 00:01:16,840 --> 00:01:19,930 And we can't use this function on nil. 22 00:01:20,170 --> 00:01:25,930 Now to avoid that error from popping up inside of our console, we can go ahead and check if other part 23 00:01:25,930 --> 00:01:31,630 dot parent is equal to nil, and if it is, then we're just going to return. 24 00:01:31,630 --> 00:01:34,420 And that's all we need to do to fix that error. 25 00:01:34,420 --> 00:01:38,530 And that was the only error that I encountered when playtesting the game. 26 00:01:38,530 --> 00:01:42,250 If you have other errors, take the time to figure out how to fix them. 27 00:01:42,250 --> 00:01:48,010 And again, if you need help, make sure you make a Q&A post or make a forum post inside of the discord 28 00:01:48,010 --> 00:01:50,740 server, and I'll be sure to help you as fast as I can. 29 00:01:51,650 --> 00:01:58,490 Now make sure you take this property listener script and copy it and paste it into all of your zombies 30 00:01:58,490 --> 00:02:02,420 and get rid of the old property listener script, so we'll paste it in there. 31 00:02:03,330 --> 00:02:06,300 And we can go ahead and go through and delete all of the old ones. 32 00:02:06,300 --> 00:02:13,320 So delete that, delete that, delete that and delete that and delete that. 33 00:02:14,120 --> 00:02:18,200 In the next upcoming lectures, I'm going to show you how to publish your game. 34 00:02:18,200 --> 00:02:23,030 Change things such as the game icon, thumbnail and description, and we'll also take a look at some 35 00:02:23,030 --> 00:02:26,810 of the other statistics that Roblox gives us to monitor our games. 36 00:02:26,840 --> 00:02:29,060 I'll see you in the next lecture.